package com.eye.thread;

import com.google.common.collect.Lists;
import lombok.Data;

import java.util.List;

/**
 * Created by rich1 on 10/6/17.
 */
@Data
public class ThreadPool{

    public static Integer maxSize = 5;
    private Integer noUseSize;
    private Integer useSize;
    private List<Thread> threadList = Lists.newArrayList();

    public void createTreadPool(){
        createThreadPool(maxSize);
    }

    public void createThreadPool(Integer maxSize){

    }

}
